package com.swh.service;

import com.github.pagehelper.PageInfo;
import com.swh.entity.QualificationCondition;
import com.swh.entity.SysArea;

import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
import java.util.Map;

public interface SysAreaService extends BaseService<SysArea> {

    PageInfo<Map> selectPage(Integer pageNum, Integer pageSize, QualificationCondition condition);

    List<SysArea> findAll(SysArea sysArea);

    List<SysArea> findAll2();

    //文件上传
    void upload(InputStream is);

    //文件下载
    void download(OutputStream os);

    List<SysArea> findAllChild( Integer id);

    int deleteChild(Integer id);

}